﻿namespace MDXStudio
{
    using Microsoft.AnalysisServices;
    using System;

    internal class TWQuery : TWEvent
    {
        private string m_Desc;

        internal TWQuery(TraceEventArgs e, string desc) : base(e)
        {
            this.m_Desc = desc;
        }

        internal override int GetImageIndex()
        {
            return 1;
        }

        internal override string GetLabel()
        {
            return this.m_Desc;
        }
    }
}

